from django.db.models import Q
from rest_framework import viewsets
from ERP_system.utils.multiple_destory import MultipleDestoryMixin,MultipleOpenMixin
from ERP_system.utils.pagination import GlobalPagination
from rest_framework import mixins,viewsets
from goods_info.models import *
from goods_info.serializer.attachment_serializer import AttachmentsSerializer


class AttachmentView(mixins.CreateModelMixin,mixins.DestroyModelMixin,viewsets.ReadOnlyModelViewSet):

    queryset = AttachmentModel.objects.all()

    serializer_class = AttachmentsSerializer

